package com.epichust.bootuqc.service.impl;

import com.epichust.bootuqc.model.bo.Uqcm5SelfCheckBO;
import com.epichust.bootuqc.model.dao.Uqcm5SelfCheckDao;
import com.epichust.bootuqc.model.dao.Uqcm5SelfCheckDetailDao;
import com.epichust.bootuqc.model.entity.Uqcm5SelfCheckDetail;
import com.epichust.bootuqc.service.IUqcm5SelfCheckDetailService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
import java.util.Map;

/**
 * Description:
 *
 * @author:伦伦的电脑
 * @date: 2021/1/21 9:48
 */
@Service
@Transactional
public class Uqcm5SelfCheckDetailServiceImpl implements IUqcm5SelfCheckDetailService {
    @Autowired
    private Uqcm5SelfCheckDetailDao uqcm5selfcheckdetaildao;

    @Override
    public List<Uqcm5SelfCheckDetail> getUqcm5SelfCheckDetail(Map<String,String> map) {
        List<Uqcm5SelfCheckDetail> list =uqcm5selfcheckdetaildao.getUqcm5SelfCheckDetail(map);
        return list;
    }

    @Override
    public int insertUqcm5SelfCheckdetail(Uqcm5SelfCheckDetail uqcm5selfcheckdetail) {
        return uqcm5selfcheckdetaildao.insertUqcm5SelfCheckdetail(uqcm5selfcheckdetail);
    }
}
